package cn.koala.key.complaint.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Author: 36153
 * @Date: 2019/7/10 14:05
 */
@Data
@ApiModel(value="商店列表信息")
public class ShopItemInfoDTO {

    @ApiModelProperty("id")
    private Integer id;
    @ApiModelProperty("地址")
    private String address;
    @ApiModelProperty("距离")
    private Double distance;
    @ApiModelProperty("图片地址")
    private String imagePath;
    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("服务单数")
    private Integer serviceCount;
    @ApiModelProperty("商店类型")
    private Integer shopType;
    @ApiModelProperty("评价")
    private Double star;
    @ApiModelProperty("维修厂固定电话")
    private String phoneNo;

    /**
     * 经纬度
     */
    private BigDecimal latitude;

    /**
     * 经纬度
     */
    private BigDecimal longitude;

    public String getPhoneNo() {
        return phoneNo;
    }

    public void setPhoneNo(String phoneNo) {
        this.phoneNo = phoneNo;
    }

    public BigDecimal getLatitude() {
        return latitude;
    }

    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    public BigDecimal getLongitude() {
        return longitude;
    }

    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Double getDistance() {
        return distance;
    }

    public void setDistance(Double distance) {
        this.distance = distance;
    }

    public String getImagePath() {
        return imagePath;
    }

    public void setImagePath(String imagePath) {
        this.imagePath = imagePath;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getServiceCount() {
        return serviceCount;
    }

    public void setServiceCount(Integer serviceCount) {
        this.serviceCount = serviceCount;
    }

    public Integer getShopType() {
        return shopType;
    }

    public void setShopType(Integer shopType) {
        this.shopType = shopType;
    }

    public Double getStar() {
        return star;
    }

    public void setStar(Double star) {
        this.star = star;
    }

    @Override
    public String toString() {
        return "ShopItemInfoDTO{" +
                "id=" + id +
                ", address='" + address + '\'' +
                ", distance=" + distance +
                ", imagePath='" + imagePath + '\'' +
                ", name='" + name + '\'' +
                ", serviceCount=" + serviceCount +
                ", shopType=" + shopType +
                ", star=" + star +
                '}';
    }
}
